﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Moder.继承
{
    /// <summary>
    /// 人员子类
    /// 描述：ChildPerson继承了BasePerson
    ///       ChildPerson是BasePerson子类
    ///       BasePerson是ChildPerson的父类/祖类/基础类/超类
    /// </summary>
    public class ChildPerson:BasePerson
    {
        public ChildPerson() {
            //base:指代父类的当前实例
            //this.BasePerson=base.BankAccount
         
        }
    }
}
